package com.ys.web.service;

import java.io.Serializable;
import java.util.List;

import com.ys.web.entity.CustomerTarget;
import com.ys.web.entity.IndustryGoal;
import com.ys.web.pojo.CompanyInfo;
import com.ys.web.pojo.TotalNotGoal;

/**
 * 
 * @author 卓小建
 *
 */
public interface IndustryGoalService {
	public List<IndustryGoal> getALLIndustryByPage(int currentPage);
	
	
	public <T> T getEntityById(Class<T> className,Serializable id);
	
	
	/**
	 * 通过行业id获取远程行业的信息
	 * @param id
	 * @return
	 */
	public <T> T getRemoteEntity(String id);
	
	public <T> List<T> getAllEntity(Class<T> className,Object object , Object object1, Object object2);
	
	public <T> List<T> getT(Class<T> className);
	
	/**
	 * 保存行业目标实体
	 * @param industry
	 */
	public void saveOrUpdate(IndustryGoal industry);
	
	public <T> void save(T entity);
	
	public <T> T getTById(Class<T> className,String id);
	
	public  List<CustomerTarget> getCustomerGoal(List<CompanyInfo> list,String object,String object1);
	public  List<CustomerTarget> getCustomerNotGoal(List<CompanyInfo> list,String object,String object1);
	public  List<TotalNotGoal> getCustomerTotalNotGoal(String object,String object1,Integer infopage);
	public  List<CustomerTarget> getCustomerSemNotGoal(List<CompanyInfo> list,String object,String object1,Integer userId);
	
}
